9bd0ce1938ede1b44ae580e66e0f688a1912b1d4,jetty-start/src/test/java/org/eclipse/jetty/start/DistTest.java,DistTest,testReAddHttpThenDeployViaStartD,#,155

Before Change


    @Test
    public void testReAddHttpThenDeployViaStartD() throws Exception
    {
        File basePath = testdir.getEmptyDir();

        List<String> cmds = getBaseCommandLine(basePath);
        cmds.add("--add-to-start=http");
        execMain(cmds);
        
        assertFileExists(basePath,"start.ini");
        
        // Now add 'deploy' module.
        cmds = getBaseCommandLine(basePath);

After Change


    @Test
    public void testReAddHttpThenDeployViaStartD() throws Exception
    {
        Path basePath = testdir.getEmptyDir().toPath();

        List<String> cmds = getBaseCommandLine(basePath);
        cmds.add("--add-to-start=http");
        execMain(cmds);
        
        Path startIni = basePath.resolve("start.ini");
        
        assertThat("start.ini", startIni, fileExists());